<?php


namespace App\Api\Hmyl;
use PhalApi\Api;
use PhalApi\Exception\BadRequestException;

/**
 * 韩美医疗自动预约
 *
 * @author: dogstar <chanzonghuang@gmail.com> 2014-10-04
 */
class Dh extends Api
{

    public function getRules()
    {
        return array(
            'dh' => array(),
        );
    }


    /**
     * 同步设备
     */

    public function dh()
    {
        $frdm = 'A004264';
        $url = 'https://26er314622.goho.co/?s=App.Zhjl.getOrderHeaderAdd';


        $item = \PhalApi\DI()->notorm->zhjlgetworklist->where(  array( 'todo' => '0' ) )->fetchOne();


        return $item;
        
    }
}
